package com.base.myproject.client.ui;

import com.extjs.gxt.ui.client.widget.Status;
import com.extjs.gxt.ui.client.widget.toolbar.FillToolItem;
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;

public class BaseStatus extends ToolBar{
	static BaseStatus basestatus = null;
	
	private BaseStatus()
	{
		/*this.setHeight(20);
		BaseProgressBar bpb = BaseProgressBar.getinstance();
		
		bpb.setMax(100);
		bpb.setMin(0);
		bpb.updateProgress(0.2, "aa");
		this.add(bpb);
		add(new Button("button"));*/
		Status status = new Status();  
	    status.setText("");  
	    status.setWidth(150);  
	    add(status);  
	    add(new FillToolItem());  
	}
	public static BaseStatus getInstance()
	{
		if(basestatus ==null)
		{
			basestatus = new BaseStatus();
		}
		return basestatus;
	}

}
